package com.itboye.zhujia.home;

import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.itboye.zhujia.R;
import com.itboye.zhujia.base.BaseActivity;
import com.itboye.zhujia.base.MyApplcation;
import com.itboye.zhujia.myzhujia.ActivityMySign;
/**
 * 我是经纪人
 */
public class ActivityAgent extends BaseActivity implements OnClickListener{
	private ImageView close_icon;// 返回图片
	private TextView add_shap_title_tv;// 标题
	//名片认证，实名认证，我的发布，签约订单，合同模板
	RelativeLayout agent_card,agent_real,agent_fabu,agent_order,agent_hetong;
	@Override
	public int initView() {
		return 0;
	}

	@Override
	public void onMyCreate() {
		setContentView(R.layout.activit_agent);
		
		add_shap_title_tv.setText("我是经纪人");

	}

	@Override
	public void onClick(View v) {
		Intent intent=null;
		switch (v.getId()) {
		case R.id.close_icon:
			finish();
			break;
		case R.id.agent_card://名片认证
			intent=new Intent(MyApplcation.ctx, ActivityCardRenZheng.class);
			startActivity(intent);
			
			break;
		case R.id.agent_real://实名认证
			intent=new Intent(MyApplcation.ctx, ActivityRealName.class);
			startActivity(intent);
			
			break;
		case R.id.agent_fabu://我的发布
	
			break;
		case R.id.agent_order://签约订单
			intent=new Intent(MyApplcation.ctx, ActivityMySign.class);
			startActivity(intent);
			
			break;
		case R.id.agent_hetong://合同模板
	
			break;

		default:
			break;
		}
		
	}

}
